package router

import (
	"i18n-template/controller"
	"i18n-template/middleware"

	"github.com/gin-gonic/gin"
)

func UseFileRouter(group *gin.RouterGroup) {
	group.POST("", middleware.AuthMiddleware(), controller.GenerateFileController())
	group.GET("", controller.FindFileController())
	group.DELETE("", middleware.AuthMiddleware(), controller.DeleteFileController())
}
